package com.edu.feign;

import com.edu.bean.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "PROVIDER")
public interface DeptFeignClient {

    @PostMapping("/dept/saveUser")
    public String saveUser(Dept dept);
}
